package com.niuwa.p2p.entity.business;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 用户债权
 * @author Dell
 *
 */
public class CustClaim {
    private String creditNo;

    private String projectNo;

    private String srcCreditNo;

    private Long custId;

    private BigDecimal investAmount;

    private BigDecimal remainAmount;

    private String creditStatus;

    private Date investTime;

    private String investMethod;

    private BigDecimal receivingAmount;

    private BigDecimal claimPercent;

    private String recordNo;

    private String isOverdue;

    private String isEarlyRepay;

    private String prodCode;

    private String prodName;

    private String custLoginName;

    private String isTransfer;

    private BigDecimal receivingInterest;

    private BigDecimal yearRate;

    private String projectName;

    private Date expireDate;

    private Date nextRepayDate;
    
    private Long version;
    
    public CustClaim() {
	}
    
    public CustClaim(String creditNo, BigDecimal remainAmount, String creditStatus, BigDecimal receivingAmount, BigDecimal receivingInterest,Long version) {
		this.creditNo = creditNo;
		this.remainAmount = remainAmount;
		this.creditStatus = creditStatus;
		this.receivingAmount = receivingAmount;
		this.receivingInterest = receivingInterest;
		this.version = version;
	}

	/** 投资具体方式 */
    private String method;

    
    public String getMethod() {
		return method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public String getCreditNo() {
        return creditNo;
    }

    public void setCreditNo(String creditNo) {
        this.creditNo = creditNo == null ? null : creditNo.trim();
    }

    public String getProjectNo() {
        return projectNo;
    }

    public void setProjectNo(String projectNo) {
        this.projectNo = projectNo == null ? null : projectNo.trim();
    }

    public String getSrcCreditNo() {
        return srcCreditNo;
    }

    public void setSrcCreditNo(String srcCreditNo) {
        this.srcCreditNo = srcCreditNo == null ? null : srcCreditNo.trim();
    }

    public Long getCustId() {
        return custId;
    }

    public void setCustId(Long custId) {
        this.custId = custId;
    }

    public BigDecimal getInvestAmount() {
        return investAmount;
    }

    public void setInvestAmount(BigDecimal investAmount) {
        this.investAmount = investAmount;
    }

    public BigDecimal getRemainAmount() {
        return remainAmount;
    }

    public void setRemainAmount(BigDecimal remainAmount) {
        this.remainAmount = remainAmount;
    }

    public String getCreditStatus() {
        return creditStatus;
    }

    public void setCreditStatus(String creditStatus) {
        this.creditStatus = creditStatus == null ? null : creditStatus.trim();
    }

    public Date getInvestTime() {
        return investTime;
    }

    public void setInvestTime(Date investTime) {
        this.investTime = investTime;
    }

    public String getInvestMethod() {
        return investMethod;
    }

    public void setInvestMethod(String investMethod) {
        this.investMethod = investMethod == null ? null : investMethod.trim();
    }

    public BigDecimal getReceivingAmount() {
        return receivingAmount;
    }

    public void setReceivingAmount(BigDecimal receivingAmount) {
        this.receivingAmount = receivingAmount;
    }

    public BigDecimal getClaimPercent() {
        return claimPercent;
    }

    public void setClaimPercent(BigDecimal claimPercent) {
        this.claimPercent = claimPercent;
    }

    public String getRecordNo() {
        return recordNo;
    }

    public void setRecordNo(String recordNo) {
        this.recordNo = recordNo == null ? null : recordNo.trim();
    }

    public String getIsOverdue() {
        return isOverdue;
    }

    public void setIsOverdue(String isOverdue) {
        this.isOverdue = isOverdue == null ? null : isOverdue.trim();
    }

    public String getIsEarlyRepay() {
        return isEarlyRepay;
    }

    public void setIsEarlyRepay(String isEarlyRepay) {
        this.isEarlyRepay = isEarlyRepay == null ? null : isEarlyRepay.trim();
    }

    public String getProdCode() {
        return prodCode;
    }

    public void setProdCode(String prodCode) {
        this.prodCode = prodCode == null ? null : prodCode.trim();
    }

    public String getProdName() {
        return prodName;
    }

    public void setProdName(String prodName) {
        this.prodName = prodName == null ? null : prodName.trim();
    }

    public String getCustLoginName() {
        return custLoginName;
    }

    public void setCustLoginName(String custLoginName) {
        this.custLoginName = custLoginName == null ? null : custLoginName.trim();
    }

    public String getIsTransfer() {
        return isTransfer;
    }

    public void setIsTransfer(String isTransfer) {
        this.isTransfer = isTransfer == null ? null : isTransfer.trim();
    }

    public BigDecimal getReceivingInterest() {
        return receivingInterest;
    }

    public void setReceivingInterest(BigDecimal receivingInterest) {
        this.receivingInterest = receivingInterest;
    }

    public BigDecimal getYearRate() {
        return yearRate;
    }

    public void setYearRate(BigDecimal yearRate) {
        this.yearRate = yearRate;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName == null ? null : projectName.trim();
    }

    public Date getExpireDate() {
        return expireDate;
    }

    public void setExpireDate(Date expireDate) {
        this.expireDate = expireDate;
    }

    public Date getNextRepayDate() {
        return nextRepayDate;
    }

    public void setNextRepayDate(Date nextRepayDate) {
        this.nextRepayDate = nextRepayDate;
    }

	public Long getVersion() {
		return version;
	}

	public void setVersion(Long version) {
		this.version = version;
	}
    
}